package com.lnt.java.thread.executor;

public class ExecutorTaskDemo implements Runnable{

    @Override
    public void run() {
        System.out.println("我要学习");
        try {
            Thread.sleep(200);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("老师" + Thread.currentThread().getName() + "来教我学习内容");
        System.out.println("老师" + Thread.currentThread().getName() + "离开");
    }

}
